<script lang="ts" setup>
  import { Col, Row } from '@sscd/grid';
</script>

<template>
  <div class="demo">
    <div class="demo-title">区块间隔</div>
    <div class="demo-content">
      <Row class="row" :gutter="16">
        <Col class="col" :span="6">
          <div class="col-6">col-6</div>
        </Col>
        <Col class="col" :span="6">
          <div class="col-6">col-6</div>
        </Col>
        <Col class="col" :span="6">
          <div class="col-6">col-6</div>
        </Col>
        <Col class="col" :span="6">
          <div class="col-6">col-6</div>
        </Col>
      </Row>
    </div>
  </div>
</template>

<style lang="less" scoped>
  .demo {
    :deep(.row) {
      margin-bottom: 12px;
      .col {
        text-align: center;
        color: #fff;
        .col-6 {
          padding: 16px 0;
          background: #0092ff;
        }
      }
    }
  }
</style>
